<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学生信息的注册页面</title>
</head>
<body>
<h2>GET</h2>
<form action="/regist.do" method="get">
    姓名: <input type="text" name="name"> <br>
    年龄: <input type="text" name="age"> <br>
    密码: <input type="password" name="password"> <br>

    <input type="submit" value="get注册">
</form>

<h2>POST</h2>
<form action="/regist.do" method="post">
    姓名: <input type="text" name="name"> <br>
    年龄: <input type="text" name="age"> <br>
    密码: <input type="password" name="password"> <br>

    <input type="submit" value="post注册">
</form>
</body>
</html>